package cn.ifavor.appframework;

import android.app.Application;
import android.content.Context;

/**
 * @author: SvenHe(heshiweij@gmail.com)
 * @Date: 2016-06-05
 * @Time: 15:42
 * @des ${TODO}
 */
public class DefaultApplication extends Application {
    private static Context mApplicationContext;

    @Override
    public void onCreate() {
        super.onCreate();

        mApplicationContext = this;
    }

    /**
     * 获取上下文
     * @return
     */
    public static Context getContext() {
        return mApplicationContext;
    }
}
